package com.project.webpage.mapper;

import com.project.webpage.dto.BaseParam;
import com.project.webpage.dto.GjxlDto;
import com.project.webpage.dto.GjxlParam;
import com.project.webpage.dto.GjxlRuleDto;
import com.project.webpage.entity.*;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface GjxlMapper extends Mapper<Gjxl> {

    List<GjxlDto> selectListByUid (GjxlParam param);

    List<GjxlDto> selectXlbmYuJingListByUid (GjxlParam param);

    List<GjxlDto> selectNotCorrectXlmcListByUid (BaseParam param);

    List<QzcySmzmc> selectCySmzmcListByUid (BaseParam param);

    List<QzcyZj> selectCyZjListByUid (BaseParam param);

    List<QzcyPc> selectCyPcListByUid (BaseParam param);

    List<QzcyBc> selectCyBcListByUid (BaseParam param);

    List<GjxlRuleDto> selectRuleListByUid (GjxlParam param);

    List<GjxlRuleDto> selectRule (GjxlRuleDto param);

    void updateRuleId (GjxlRuleDto param);

    void updateXlbm (GjxlRuleDto param);

    void insertNoweekend (GjxlRuleDto param);

    void deleteNoweekend (GjxlRuleDto param);

    void insertSingle (GjxlRuleDto param);

    void deleteSingle (GjxlRuleDto param);

    void insertGp (GjxlRuleDto param);

    void deleteGp (GjxlRuleDto param);

    GjxlRuleDto selectDjg (GjxlParam param);

    void insertDjg (GjxlRuleDto param);

    void updateDjg (GjxlRuleDto param);
}
